﻿<AutoComplete @bind-Value="@FoodName" Items="Items" OnValueChanged="OnFoodChanged" OnCustomFilter="OnFilter">
</AutoComplete>

<div class="table-ingre modal-ingre">
    @if (Value != null)
    {
        <IngredientTable Value="Value" OnValueChanged="OnIngredientChanged" />
    }
</div>
